package com.yonyou.brigade.third_parties.bfjr.service;

import com.baomidou.mybatisplus.service.IService;
import com.yonyou.brigade.basic_init.model.BriChannel;
import com.yonyou.brigade.order_center.model.ThirdResult;
import com.yonyou.brigade.third_parties.bfjr.model.BfjrUser;
import com.yonyou.ybzboot.uc.dto.UcUserDto;
import java.util.List;

public interface IBfjrUserService extends IService<BfjrUser> {


     void syncBfjrUserList(List<UcUserDto> ucUserDto, BriChannel briChannel, String tenant);

     /**
      * 同步用户
      * @param bfjrUser
      * @param briChannel
      * @param operationType
      * @return
      */
     ThirdResult syncUser(BfjrUser bfjrUser, BriChannel briChannel, String operationType);


     /**
      * 转换
      * @param ucUserDto
      * @param tenant
      * @return
      */
     BfjrUser ucUserConvert2BfjrUser(UcUserDto ucUserDto, String tenant,BriChannel briChannel);

     /**
      * 单点登录
      * @param tenant
      * @param org
      * @param phone
      * @param pageType
      * @param pcOrH5
      * @param jsonExt
      * @return
      */
     String loginUrl(String tenant, String org, String phone, String pageType, String pcOrH5, String jsonExt);

}
